--- ./src/transmageddon.py.orig	2012-10-01 13:19:00.000000000 +0000
+++ ./src/transmageddon.py	2013-06-01 20:48:36.000000000 +0000
@@ -35,7 +35,7 @@
 GObject.threads_init()
 
 import transcoder_engine
-from urllib.parse import urlparse
+from urlparse import urlparse
 import codecfinder
 import about
 import presets
@@ -260,7 +260,10 @@
            return vbox
 
        self.builder = Gtk.Builder()
-       self.builder.set_translation_domain("transmageddon")
+       if sys.platform.startswith("freebsd"):
+           self.builder.set_translation_domain(None)
+       else:
+           self.builder.set_translation_domain("transmageddon")
        uifile = "transmageddon.ui"
        self.builder.add_from_file(uifile)
 
@@ -1136,7 +1139,10 @@
 import signal
   
 #Set up i18n
-gettext.bindtextdomain("transmageddon","../../share/locale")
+if sys.platform.startswith("freebsd"):
+    locale.setlocale(locale.LC_ALL, "")
+
+gettext.bindtextdomain("transmageddon", "../../share/locale")
 gettext.textdomain("transmageddon")
 
 if __name__ == "__main__":
